<template>
  <demoBlock title="指定容器" padding>
    <div ref="container" style="height: 150px; background-color: #fff">
      <vcu-sticky :container="container" :offset-bottom="80" position="bottom">
        <vcu-button type="primary">指定容器</vcu-button>
      </vcu-sticky>
      
    </div>
  </demoBlock>
</template>
<script setup>
import { ref } from 'vue';
const container = ref(null);
</script>